/**
* TG_Coder: Dzlua
* Email: 505544956@qq.com
* Time: 2017/05/16
*/
#pragma once

#include "common/common.h"

#include <Winreg.h>

class TGPath
{
public:
    //get value in reg
    static std::string GetRegValue(HKEY hKey, const std::string& strUrl, const std::string& strKey);
    //D:\Program Files (x86)\TGGame
    static std::string GetInstallPath();
    //D:\Program Files (x86)\TGGame\guser.ini
    static std::string GetConfigFile();
    //C:\Users\Dzlua\AppData\Local\TGGAME
    static std::string GetDataPath();
    
    //datapath data
    //C:\Users\Dzlua\AppData\Local\TGGAME\accouts2.dat
    static std::string GetAccoutsFile();
};